gcloud Skill: Constraining GCP CLI Operations for AI Agents

The gcloud Skill (v1.0.0) released by Google in the google/skills repository requires agents to validate syntax with leaf-level `gcloud help` before planning or executing `gcloud` commands, prohibiting the use of web searches to guess flags. It enforces minimizing list data, using single commands without pipes, `--quiet` and explicit `--project`/location, along with a four-step plan and dry-run. It covers both direct CLI usage and the MCP `run_gcloud_command`, explicitly listing operations such as IAM, deletion, and billing as prohibited from autonomous execution. Install it with `npx skills add google/skills`.

Read More